package com.zhugy.comparecode.config;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.serializer.SerializerFeature;

public class CompareBinaryConfig {
	
	private String path1;
	
	private String path2;
	
	private boolean continueOnDiff;

	public String getPath1() {
		return path1;
	}

	public void setPath1(String path1) {
		this.path1 = path1;
	}

	public String getPath2() {
		return path2;
	}

	public void setPath2(String path2) {
		this.path2 = path2;
	}

	public boolean isContinueOnDiff() {
		return continueOnDiff;
	}

	public void setContinueOnDiff(boolean continueOnDiff) {
		this.continueOnDiff = continueOnDiff;
	}
	
	public static void main(String[] args) {
		CompareBinaryConfig config = new CompareBinaryConfig();
		config.setPath1("D:\\documents\\source\\osfs\\osfs05-master\\i-z\\kernel_compile_by_fedora.bin");
		config.setPath2("D:\\documents\\source\\osfs\\osfs05-master\\i-z\\kernel_compile_by_ubuntu.bin");
		config.continueOnDiff = true;
		System.out.println(JSON.toJSONString(config, SerializerFeature.UseSingleQuotes));
	}
}
